<% for(var i=0; i< VA.length; i++){%>
	<div class="col-sm-6 col-md-3 delpr" >
		<div class="userhome-allbody" >
			<% if(VA[i].type == "article") {%>
				<a href="/articles/read/<%-VA[i]._id%>" >
					<div style="background-image:url(/article/<%-VA[i].img%>)" class="userhome-body-img">
						<div class="userhome-body-imghov">
							<span class="glyphicon glyphicon-book"></span>
						</div>
					</div>
				</a>
				<div class="userhome-title hidden-xs">
					<a class="userhome-atitle" href="/articles/read/<%-VA[i]._id%>" ><%-VA[i].name%></a>
				</div>
				<div class="userhome-title visible-xs">
					<a class="userhome-atitle" style="font-size:32px;line-height:32px;" href="/articles/read/<%-VA[i]._id%>" ><%-VA[i].name%></a>
				</div>
			<%} else{%>
				<a href="/video/av/<%-VA[i]._id%>" >
					<div style="background-image:url(/video/<%-VA[i].img%>);"  class="userhome-body-img">
						<div class="userhome-body-imghov">
							<span class="glyphicon glyphicon-play"></span>
						</div>
					</div>
				</a>
				<div class="userhome-title hidden-xs">
					<a class="userhome-atitle" href="/video/av/<%-VA[i]._id%>" ><%-VA[i].name%></a>
				</div>
				<div class="userhome-title visible-xs">
					<a class="userhome-atitle" style="font-size:32px;line-height:32px;" href="/video/av/<%-VA[i]._id%>" ><%-VA[i].name%></a>
				</div>
			<%}%>
			<div class="userhome-time-hov">
				<p class="userhome-uptime"><span class="glyphicon glyphicon-time"></span><%= (new Date(VA[i].upTime).getFullYear()+"-" +(new Date(VA[i].upTime).getMonth()+1))+"-"+(new Date(VA[i].upTime).getDate())
				%></p>
				<% if(  router == '/userhome/'+upUser._id+'/keep' &&  user.name == upUser.name)  {%>
				<div class="userhome-keepdel" data-va="<%-VA[i]._id%>" data-type="<%-VA[i].type %>">
					删除
				</div>
				<%}%>
			</div>
		</div>
	</div>
<%}%>